<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>博客系统</title>
    <link rel="stylesheet" href="/static/css/article_detail.css">
    <script src="/static/js/jquery.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <script src="/static/js/jquery.min.js"></script>
    <!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="/static/js/bootstrap.min.js"></script>

    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .header {
            width: 100%;
            height: 60px;
            background-color: #369;
            position: absolute;

        }

        .header .title {
            font-size: 18px;
            font-weight: 100;
            color: white;
            margin-left: 15px;
            float: left;

        }

        .header .backend {
            float: right;
            color: white;
            text-decoration: none;
            font-size: 14px;
            margin-right: 10px;
            margin-top: 20px;
        }

        .container-fluid {
            position: relative;
            top: 80px;
        }

        .pub-info {
            margin-top: 10px;
            color: gray;
        }

        .comment {
            padding: 5px 10px;
        }

        .comment-con {
            position: relative;
        }

        .comment-content {
            position: absolute;
            top: 50px;
        }

        .comment_item {
            margin-left: 20px;
        }

    </style>
</head>
<body>


<div class="header ">
    <div class="content">
        <a href="/index"><p class="title">{{ blog.title }}</p></a>
        <a href="/{{ request.user.username }}/manager" class="backend">后台管理</a>
    </div>


</div>
<div class="container-fluid">
    <div class="row">
        <div class="col-md-3">
            <div class="panel panel-warning">
                <div class="panel-heading">我的标签</div>
                <div class="panel-body">
                    {% for tag in tag_list %}
                        <p><a href="/{{ username }}/tag/{{ tag.0 }}">{{ tag.0 }}({{ tag.1 }})</a></p>
                    {% endfor %}

                </div>
            </div>
            <div class="panel panel-danger">
                <div class="panel-heading">随笔分类</div>
                <div class="panel-body">
                    {% for cate in cate_list %}
                        <p><a href="/{{ username }}/catgory/{{ cate.0 }}">{{ cate.0 }}({{ cate.1 }})</a></p>
                    {% endfor %}

                </div>
            </div>
            <div class="panel panel-success">
                <div class="panel-heading">随笔归档</div>
                <div class="panel-body">
                    {% for date1 in date_list %}
                        <p><a href="/{{ username }}/archive/{{ date1.0 }}">{{ date1.0 }}({{ date1.1 }})</a></p>
                    {% endfor %}

                </div>
            </div>
        </div>
        <div class="col-md-9">
            {% block content %}
            {% endblock %}
        </div>
    </div>
</div>

</body>

</html>